Automatic accuracy estimation for audio transcriptions

ABSTRACT

Embodiments of the present invention provide an approach for estimating the accuracy of a transcription of a voice recording. Specifically, in a typical embodiment, each word of a transcription of a voice recording is checked against a customer-specific dictionary and/or a common language dictionary. The number of words not found in either dictionary is determined. An accuracy number for the transcription is calculated from the number of said words not found and the total number of words in the transcription.

RELATED U.S. APPLICATION DATA

The present patent document is a continuation of U.S. patent application Ser. No. 15/815,066, filed Nov. 16, 2017, the entire contents of which are incorporated herein by reference. U.S. patent application Ser. No. 15/815,066 is a continuation of U.S. patent application Ser. No. 15/398,779, filed Jan. 5, 2017, U.S. Pat. No. 9,892,725, issued Feb. 13, 2018, the entire contents of which are incorporated herein by reference. U.S. patent application Ser. No. 15/398,779 is a continuation of U.S. patent application Ser. No. 15/172,531, filed Jun. 3, 2016, U.S. Pat. No. 9,570,068, issued Feb. 14, 2017, the entire contents of which are incorporated herein by reference. U.S. patent application Ser. No. 15/172,531 is a continuation of U.S. patent application Ser. No. 14/997,728, filed Jan. 18, 2016, U.S. Pat. No. 9,390,707, issued Jul. 12, 2016. U.S. patent application Ser. No. 14/997,728 is a continuation of U.S. application Ser. No. 13/463,055, filed May 3, 2012, U.S. Pat. No. 9,275,636, issued Mar. 1, 2016, the entire contents of which are incorporated herein by reference.

TECHNICAL FIELD

In general, embodiments of the present invention provide an approach for multimedia processing. Specifically, embodiments of the present invention relate to an approach for automatically estimating the accuracy level for audio transcriptions.

BACKGROUND

Recent advances in media conversion technology, such as speech-to-text conversion and optical character recognition (OCR), have made it possible for computers to perform tasks such as transcribing messages or documents dictated by a user. Dictation systems for personal computers are now fairly common. Also available are scanning or OCR systems that are capable of converting the content of a printed document into computer readable form. These systems, however, are sometimes inaccurate. The users often need to proofread and make corrections to the output of these systems.

Data entry personnel are currently utilized for the conversion of an audio message to a text message sent to a user's paging device. In such a system, a caller desiring to send a message telephones the user's paging service and communicates the message to a data entry employee of the paging service. This employee enters the message into a computer and then transmits it to the user's paging device. The text message entered by the employee of the paging service is then displayed on the display of the user's paging device. The use of human employees in the text entry and transcription of audio messages is expensive and inefficient. Current automated systems are not reliable and accurate enough to be used for a fully automated messaging or transcription system.

When documents are dictated and recorded as an audio file, a person transcribing the document plays the audio file and enters text representing the document recorded on the audio tape. The use of human employees in text entry and transcription of audio messages is expensive and inefficient. Automated speech-to-text conversion systems are also currently available to convert audio recordings into a text document. However, such conversion systems are inaccurate, requiring the users to proofread and make corrections to the output of the systems.

SUMMARY

In general, embodiments of the present invention provide an approach for estimating the accuracy of a transcription of a voice recording. Specifically, in a typical embodiment, each word of a transcription of a voice recording is checked against a customer-specific dictionary and/or a common language dictionary. The number of words not found in either dictionary is determined. An accuracy number for the transcription is calculated from the number of said words not found and the total number of words in the transcription.

A first aspect of the present invention provides a computer-implemented method for estimating the accuracy of a transcription of a voice recording, comprising: receiving the transcription; providing a customer specific dictionary; providing a dictionary of common language words; determining a number of inaccurate words in the transcription; determining a total number of words in the transcription; and calculating an accuracy number based on the number of inaccurate words and the total number of words.

A second aspect of the present invention provides a system for estimating the accuracy of a transcription of a voice recording, comprising: a memory medium comprising instructions; a bus coupled to the memory medium; and an audio transcription tool coupled to the bus that when executing the instructions causes the system to: receive the transcription; provide a customer specific dictionary; provide a dictionary of common language words; determine a number of inaccurate words in the transcription; determine a total number of words in the transcription; and calculate an accuracy number based on the number of inaccurate words and the total number of words.

A third aspect of the present invention provides a computer program product for estimating the accuracy of a transcription of a voice recording, the computer program product comprising a computer readable storage medium, and program instructions stored on the computer readable storage medium, to: receive the transcription; provide a customer specific dictionary; provide a dictionary of common language words; determine a number of inaccurate words in the transcription; determine a total number of words in the transcription; and calculate an accuracy number based on the number of inaccurate words and the total number of words.

A fourth aspect of the present invention provides a method for deploying a system for identifying commands for estimating the accuracy of a transcription of a voice recording, comprising: providing a computer infrastructure being operable to: receive the transcription; provide a customer specific dictionary; provide a dictionary of common language words; determine a number of inaccurate words in the transcription; determine a total number of words in the transcription; and calculate an accuracy number based on the number of inaccurate words and the total number of words.

BRIEF DESCRIPTION OF THE DRAWINGS

These and other features of this invention will be more readily understood from the following detailed description of the various aspects of the invention taken in conjunction with the accompanying drawings in which:

FIG. 1 shows a computerized implementation of the present invention.

FIG. 2 shows a more detailed view of an example audio transcription tool according to an embodiment of the present invention.

FIG. 3 shows a method flow diagram for estimating the accuracy of a transcription of a voice recording according to an embodiment of the present invention.

FIG. 4 shows a method flow diagram for assigning a confidence level to information extracted from a transcript of a voice recording according to an embodiment of the present invention.

The drawings are not necessarily to scale. The drawings are merely schematic representations, not intended to portray specific parameters of the invention. The drawings are intended to depict only typical embodiments of the invention, and therefore should not be considered as limiting the scope of the invention. In the drawings, like numbering represents like elements.

DETAILED DESCRIPTION

Embodiments of the present invention provide an approach for estimating the accuracy of a transcription of a voice recording. Specifically, in a typical embodiment, each word of a transcription of a voice recording is checked against a customer-specific dictionary and/or a common language dictionary. The number of words not found in either dictionary is determined. An accuracy number for the transcription is calculated from the number of said words not found and the total number of words in the transcription.

FIG. 1 illustrates a computerized implementation 100 of the present invention. As depicted, implementation 100 includes computer system 104 deployed within a computer infrastructure 102. This is intended to demonstrate, among other things, that the present invention could be implemented within a network environment (e.g., the Internet, a wide area network (WAN), a local area network (LAN), a virtual private network (VPN), etc.), or on a stand-alone computer system. In the case of the former, communication throughout the network can occur via any combination of various types of communications links. For example, the communication links can comprise addressable connections that may utilize any combination of wired and/or wireless transmission methods. Where communications occur via the Internet, connectivity could be provided by conventional TCP/IP sockets-based protocol, and an Internet service provider could be used to establish connectivity to the Internet. Still yet, computer infrastructure 102 is intended to demonstrate that some or all of the components of implementation 100 could be deployed, managed, serviced, etc., by a service provider who offers to implement, deploy, and/or perform the functions of the present invention for others.

Computer system 104 is intended to represent any type of computer system that may be implemented in deploying/realizing the teachings recited herein. In this particular example, computer system 104 represents an illustrative system for constructing a SOA shared service. It should be understood that any other computers implemented under the present invention may have different components/software, but will perform similar functions. As shown, computer system 104 includes a processing unit 106, memory 108 for storing an audio transcription tool 153, a bus 110, and device interfaces 112.

Processing unit 106 collects and routes signals representing outputs from external devices 115 (e.g., a keyboard, a pointing device, a display, a graphical user interface, etc.) to audio transcription tool 153. The signals can be transmitted over a LAN and/or a WAN (e.g., T1, T3, 56 kb, X.25), broadband connections (ISDN, Frame Relay, ATM), wireless links (802.11, Bluetooth, etc.), and so on. In some embodiments, the signals may be encrypted using, for example, trusted key-pair encryption. Different external devices may transmit information using different communication pathways, such as Ethernet or wireless networks, direct serial or parallel connections, USB, Firewire®, Bluetooth®, or other proprietary interfaces. (Firewire is a registered trademark of Apple Computer, Inc. Bluetooth is a registered trademark of Bluetooth Special Interest Group (SIG)).

In general, processing unit 106 executes computer program code, such as program code for operating audio transcription tool 153, which is stored in memory 108 and/or storage system 116. While executing computer program code, processing unit 106 can read and/or write data to/from memory 108, common language dictionary 116, customer specific dictionary 117, and a knowledge base (KB) 118. Common language dictionary 116, customer specific dictionary 117, and a knowledge base (KB) 118 can include VCRs, DVRs, RAID arrays, USB hard drives, optical disk recorders, flash storage devices, or any other similar storage device. Although not shown, computer system 104 could also include I/O interfaces that communicate with one or more external devices 115 that enable a user to interact with computer system 104.

FIG. 2 shows a more detailed view of an example audio transcription tool 153. Audio transcription tool 153 includes an accuracy calculation component 170 which calculates an accuracy of a transcription of a voice recording. In addition, the audio transcription tool 153 includes a confidence level assignment component 172 which assigns a confidence level to the transcription.

To determine a confidence level, a common language dictionary 116 and/or a customer specific dictionary 117 may be used. The common language dictionary 116 may include a listing of correctly spelled words or character strings for a particular natural language (e.g., English). As used herein, the term “natural language” includes all punctuation, symbols, and numeric characters associated with a particular natural language. In some examples, more than one common language dictionary may be used.

The customer specific dictionary may include a listing of useful terms in the customer domain. For example, a customer in a hardware/power tool line may be provided one or more lists of products (obtained via a database). In some examples, more than one customer specific dictionary may be used. In addition, one or more spell checkers may be used.

Knowledge base 118 may store various forms of knowledge. For example, knowledge base 118 may include automotive product information and customer shipping information. Knowledge base 118 is a collection of knowledge stored in the form of “axioms”. An axiom is a statement or proposition that is regarded as being established, accepted, or self-evidently true. For example, storing genealogy information may include the following axioms:

-   -   Father(Bill, Sara)     -   Father(John, Bill)     -   Grandfather(x, z) :=Father(x, y), Father(y, z)

The axioms listed above relate that Bill is the father of Sara, John is the father of Bill, and John is also the grandfather of Sara. Typically in building a KB (Knowledge Base), axioms are automatically extracted from data sources. Data sources are often free-form text. The process of extraction requires NLP (Natural Language Processing) to interpret a data source and find potential axioms in the data source. Axioms that are automatically discovered have a confidence level associated with them. An axiom of lowest confidence might be rated a “1” and an axiom of highest confidence might be rated a “10”. Confidence levels may be used because several potential answers may exist when a KB is used to answer a question. The KB cannot determine which answer is correct, but can assign probabilities to the list (e.g., answer choice 1 has highest probability of 63%, answer choice 2 is 20%, answer choice 1 is 17%).

Consider a customer support center that receives many customer support calls. Each of the calls are to be transcribed. The calls are transcribed to text using software and recognized processes. However, the accuracy of the transcription may vary. Accuracy plays a large part in determining confidence levels. Confidence levels are relied upon by the KB to return accurate responses to a user. If a transcript is inaccurate, an attempt is still made to extract axioms. A low confidence level may be associated with these extracted axioms. If a transcript is accurate, a high confidence level may be associated with any extracted axioms from the transcript.

FIG. 3 shows a method flow diagram for estimating the accuracy of a transcription of a voice recording according to an embodiment of the present invention. At step S1, a common language dictionary 116 is provided. At step S2, a customer specific dictionary 117 is provided. At step S3, each word in the transcription of a voice recording are checked to determine whether the word exists in the common language dictionary 116 and/or the customer specific dictionary 117. In some examples, a spell check function is also performed on each word.

Any word that is not located in a dictionary and/or fails the spell check is determined to be an inaccurate word. For example, the word may be misspelled. The greater the number of inaccurate words, the more inaccurate the transcript. In step S4, an accuracy percentage may be calculated by simply dividing the number of accurate words by the total number of words in the transcript. In one example, longer words may be given more weight (e.g., words exceeding a predefined number of characters). The weighting is based on the assumption that longer words are more relevant. A Gaussian function may then be used to find an expected value and variance of each transcript per accuracy. A confidence level may be based on the output of the function.

FIG. 4 shows a method flow diagram for assigning a confidence level to information extracted from a transcript of a voice recording according to an embodiment of the present invention. In step S10, the transcript text of a voice recording is received. In step S11, an axiom related to the transcript text is extracted from a source. In step S12, a confidence level of the source is determined. In step S13, a confidence level is assigned to the axiom based on the confidence level of the source. In typical examples, more than one axiom is extracted related to the transcript text.

Axioms are used in the computation when performing audio-to-text transcribing to return results having confidence levels associated with them. The use of axioms in the computation increases the likelihood that at least one returned response to a question is an acceptable answer.

Below is an example of how the present invention may be used by an example company (e.g., company ABC) having the following business case. Company ABC has millions of products and cannot compete on the value of price. Company ABC encourages customers to call in and get world-class customer support from customer service agents (CSAs) prepared to answer any question regarding any matter related to the company. The company also allows CSAs to ship any part to any destination within 24 hours at no cost to the customer.

Two levels of technical support exist at company ABC: L1 and L2. L1 may have new employees and trainees and is only prepared to take easier calls. The L1 agents defer the more difficult calls to the L2 agents. L2 contains the more veteran employees who are prepared to answer any question. Company ABC wants to build a knowledge base (KB) that captures knowledge and information about products and how they are used. The goal is to keep the L1 agents from deferring calls to the L2 agents by allowing the L1 agents to query the KB to answer any difficult questions.

A customer calls the customer support line at Company ABC and says “I want a caulk for my kitchen”. An L1 agent is unsure how to answer and decides to query the KB. The L1 agent manually types in “caulk for kitchen” or “I want a caulk for my kitchen”, or the like. The KB brings back a response indicating three items that match the query. The L1 agent describes the results (i.e., the three items) to the customer, the customer chooses one of the items (e.g., caulk XYZ) and the call is closed.

There is no place within the structured company ABC databases that states that caulk XYZ is “for use in kitchens”. If that data existed, then a search engine could return a result to the L1 agent. Rather, the structured company ABC data states that caulk XYZ meets the regulation 21 CFR 177.2600 specification (i.e., regulation number) and is used to get to the functional use (i.e., used in kitchens). CFR (Code of Federal Regulations) Title 21 is reserved for rules of the Food and Drug Adminstration. Unstructured data crawling is used to extract the following:

21 CFR 2700.600 has Agency FDA

21 CFR 2700.600 hasTopic Indirect Food Application

Indirect Food Application has Preferred Synonym Food Grade

Indirect Food Application has Environment Kitchen

Each statement in the preceding extracted data list is an axiom. Each axiom comes from a different source. For example, sources may include PDFs, web pages, web forums, speech-to-text transcripts, and the like. In other words, anything that contains ASCII text may be a source candidate. A confidence level may be generated for each axiom because each source cannot be reviewed due the potential number of axioms and time constraints.

A confidence level is automatically associated with each source which corresponds to an axiom when an axiom is extracted from speech-to-text (as described earlier). Confidence level has to do with the confidence in the source data that the axioms come from. Using the examples from above, associated confidence levels for each source is shown in Table 1.

TABLE 1 21 CFR 2700.600 has Agency FDA Confidence Level 5 21 CFR 2700.600 has Agency Topic Confidence Level 4 Indirect Food Application Indirect Food Application has Confidence Level 2 Preferred Synonym Food Grade Indirect Food Application has Confidence Level 3 Environment Kitchen

An algorithm using axioms in the computation to return final results to a customer adds the confidence levels together. The answer with the highest confidence level is most likely correct.

Further, it can be appreciated that the methodologies disclosed herein can be used within a computer system to provide an audio transcription service, as shown in FIG. 1. In this case, audio transcription tool 153 can be provided, and one or more systems for performing the processes described in the invention can be obtained and deployed to computer infrastructure 102. To this extent, the deployment can comprise one or more of (1) installing program code on a computing device, such as a computer system, from a computer-readable medium; (2) adding one or more computing devices to the infrastructure; and (3) incorporating and/or modifying one or more existing systems of the infrastructure to enable the infrastructure to perform the process actions of the invention.

The exemplary computer system 104 may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, people, components, logic, data structures, and so on that perform particular tasks or implements particular abstract data types. Exemplary computer system 104 may be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage medium including memory storage devices.

Furthermore, an implementation of exemplary computer system 104 may be stored on or transmitted across some form of computer readable media. Computer readable media can be any available media that can be accessed by a computer. By way of example, and not limitation, computer readable media may comprise “computer storage medium” and “communications media.”

“Computer storage medium” include volatile and non-volatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules, or other data. Computer storage medium includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by a computer.

“Communication media” typically embodies computer readable instructions, data structures, program modules, or other data in a modulated data signal, such as carrier wave or other transport mechanism. Communication media also includes any information delivery media.

The term “modulated data signal” means a signal that has one or more of its characteristics set or changed in such a manner as to encode information in the signal. By way of example, and not limitation, communication media includes wired media such as a wired network or direct-wired connection, and wireless media such as acoustic, RF, infrared, and other wireless media. Combinations of any of the above are also included within the scope of computer readable media.

It is apparent that there has been provided with this invention an approach for estimating the accuracy of a transcription of a voice recording. While the invention has been particularly shown and described in conjunction with a preferred embodiment thereof, it will be appreciated that variations and modifications will occur to those skilled in the art. Therefore, it is to be understood that the appended claims are intended to cover all such modifications and changes that fall within the true spirit of the invention. 

What is claimed is:
 1. A method of assigning a confidence level to at least one axiom extracted from a text, comprising: determining a number of accurate words in the text based on a spell check function; dividing a number of accurate words from the text by a total number of words in the text data; extracting from a knowledge base stored in a computer infrastructure, the at least one axiom, wherein the axiom comprises a computer-parsable definition of a relationship of data to at least one of the words in the text; assigning a confidence level to the at least one axiom based on an output of a Gaussian function applied to the result of the dividing; receiving a query from a user device, wherein the query includes at least one word; matching the at least one word with the at least one axiom using the knowledge base; and providing the at least one axiom from the knowledge base to the user device based on the matching and the assigned confidence level.
 2. The method of claim 1, further comprising: comparing the text to a dictionary.
 3. The method of claim 2, wherein the determining the number of inaccurate words in the text is further based on the comparing.
 4. The method of claim 2, wherein the dictionary comprises a customer specific dictionary.
 5. The method of claim 2, wherein the dictionary comprises a dictionary of common language words.
 6. The method of claim 1, wherein the text is extracted from multiple different sources.
 7. The method of claim 1, wherein the confidence level is an indicator of accuracy of the text.
 8. The method of claim 1, wherein a solution service provider provides a computer infrasture operable to perform the method.
 9. A system for assigning a confidence level to at least one axiom extracted from a text, comprising: a memory medium comprising instructions; a bus coupled to the memory medium; and an audio transcription tool coupled to the bus that when executing the instructions causes the system to: determine a number of accurate words in the text based on a spell check function; divide a number of accurate words from the text by a total number of words in the text data; extract from a knowledge base stored in a computer infrastructure, the at least one axiom, wherein the axiom comprises a computer-parsable definition of a relationship of data to at least one of the words in the text; assign a confidence level to the at least one axiom based on an output of a Gaussian function applied to the result of the dividing; receive a query from a user device, wherein the query includes at least one word; match the at least one word with the at least one axiom using the knowledge base; and provide the at least one axiom from the knowledge base to the user device based on the matching and the assigned confidence level.
 10. The system of claim 9, the an audio transcription tool coupled to the bus that when executing the instructions further causes the system to: compare the text to a dictionary.
 11. The system of claim 10, wherein the dictionary comprises a customer specific dictionary or a dictionary of common language words.
 12. The system of claim 11, wherein the determining is further based on the comparison.
 13. The system of claim 9, wherein the text is extracted from multiple different sources.
 14. The system of claim 9, wherein the confidence level is an indicator of accuracy of the text.
 15. A computer program product for assigning a confidence level to at least one axiom extracted from a text, the computer program product comprising a computer readable storage medium, and program instructions stored on the computer readable storage medium, to: determine a number of accurate words in the text based on a spell check function; divide a number of accurate words from the text by a total number of words in the text data; extract from a knowledge base stored in a computer infrastructure, the at least one axiom, wherein the axiom comprises a computer-parsable definition of a relationship of data to at least one of the words in the text; assign a confidence level to the at least one axiom based on an output of a Gaussian function applied to the result of the dividing; receive a query from a user device, wherein the query includes at least one word; match the at least one word with the at least one axiom using the knowledge base; and provide the at least one axiom from the knowledge base to the user device based on the matching and the assigned confidence level.
 16. The computer program product of claim 15, the computer program product comprising a computer readable storage medium, and program instructions stored on the computer readable storage medium, to: compare the text to a dictionary.
 17. The computer program product of claim 16, wherein the dictionary comprises a customer specific dictionary or a dictionary of common language words.
 18. The computer program product of claim 17, wherein the determining is further based on the comparison.
 19. The computer program product of claim 15, wherein the text is extracted from multiple different sources.
 20. The computer program product of claim 15, wherein the confidence level is an indicator of accuracy of the text. 